<?php
// +----------------------------------------------------------------------
// | OneKeyAdmin [ Believe that you can do better ]
// +----------------------------------------------------------------------
// | Copyright (c) 2020-2023 http://onekeyadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: MUKE <513038996@qq.com>
// +----------------------------------------------------------------------
namespace plugins\blog\api\validate;

use think\Validate;

class UserCommentLike extends Validate
{
    protected $rule = [
        'id'            => 'require|number',
    ];
    protected $message  =   [
        'id.require'            => '编号不能为空',
        'id.number'             => '编号类型错误',
    ];
    protected $scene = [
        'save'   => ['id'], 
        'delete' => ['id'], 
    ];
}